<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>project-name</title>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
<script type="text/javascript">
  var newFont;
  window.onload = function(e) {
    document.documentElement.style.fontSize = window.innerWidth / 375 * 100 + "px";
    newFont = window.innerWidth / 375 * 100;
    window.onresize = function() {
      document.documentElement.style.fontSize = window.innerWidth / 375 * 100 + "px";
      newFont = window.innerWidth / 375 * 100;
    }
  }
  </script>
